home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / DesktopAnimDraw.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  25KB  |  648 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: DesktopAnimDraw.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_DesktopAnimDraw_h
  11. #define SOM_DesktopAnimDraw_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <Events.h>
  18. #include <Quickdraw.h>
  19.  
  20. #include <som.h>
  21.  
  22. /*
  23.  * -- This emitter treats Method Tokens as Thunks by default.
  24.  * -- Use the sc modifier "nothunks" to change this default
  25.  */
  26. #undef somresolve_
  27. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  28.  
  29. /*
  30.  * Define the class name as an object type
  31.  */
  32. #ifndef DesktopAnimDraw
  33. #define DesktopAnimDraw SOMObject
  34. #endif
  35. #include <DesktopAnimBase.h>
  36.  
  37. /*
  38.  * Start of user-defined types:
  39.  */
  40. #ifndef SOMClass
  41.     #define SOMClass SOMObject
  42. #endif /* SOMClass */
  43. #ifndef SOMObject
  44.     #define SOMObject SOMObject
  45. #endif /* SOMObject */
  46. #ifndef Repository
  47.     #define Repository SOMObject
  48. #endif /* Repository */
  49.  
  50. /*
  51.  * End of user-defined types.
  52.  */
  53.  
  54. #define DesktopAnimDraw_MajorVersion 0
  55. #define DesktopAnimDraw_MinorVersion 0
  56.  
  57. /*
  58.  * External name shortening if required
  59.  */
  60. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  61. #define DesktopAnimDrawClassData d
  62. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  63. /*--------------Migration------------*/
  64.  
  65. #ifdef OLDIBMSOMAPISUPPORT
  66. #define DesktopAnimDraw_classObj somNewClassReference(DesktopAnimDraw)
  67. #define _DesktopAnimDraw DesktopAnimDraw_classObj
  68. #define DesktopAnimDrawCClassData DesktopAnimDrawClassData
  69. #define DesktopAnimDrawNewClass(major,minor) somNewVersionedClassReference(DesktopAnimDraw,major,minor)
  70. #endif
  71.  
  72. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  73. #define DesktopAnimDrawMetaClass SOMClass
  74.  
  75. #if PRAGMA_ALIGN_SUPPORTED
  76. #  pragma options align=power
  77. #endif
  78.  
  79. /*
  80.  * Declare the class data structure
  81.  */
  82. SOMEXTERN struct DesktopAnimDrawClassDataStructure {
  83. #ifdef OLDIBMSOMAPISUPPORT
  84.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  85. #else
  86.     long zero;
  87. #endif
  88.     somStaticClassInfo *sci;
  89.     somDToken        instanceDataToken;
  90.     long reserved [3];
  91.     somDToken fDesktopRgn;
  92.     somDToken fDrawWindow;
  93.     somDToken fAnimates;
  94.     somMToken _get_fDesktopRgn;
  95.     somMToken _set_fDesktopRgn;
  96.     somMToken _get_fDrawWindow;
  97.     somMToken _get_fAnimates;
  98.     somMToken _set_fAnimates;
  99.     somMToken Initialize;
  100.     somMToken Open;
  101.     somMToken Close;
  102.     somMToken OpenRequest;
  103.     somMToken CloseRequest;
  104.     somMToken Draw;
  105.     somMToken DrawBackgroundRgn;
  106.     somMToken HandleAppleEvent;
  107.     somMToken SetModuleMode;
  108.     somMToken UpdateModuleProperty;
  109.     somMToken GetModuleInfo;
  110.     somMToken GetBackgroundDrawer;
  111.     somMToken SetBackgroundDrawer;
  112.     somMToken Animate;
  113.     somMToken SetModuleInfo;
  114.     somMToken GetAnimateDrawingRgn;
  115.     somMToken CreateOffscreenGraphicsPorts;
  116.     somMToken DisposeOffscreenGraphicsPorts;
  117.     somMToken SetOriginOffscreenGraphicsPorts;
  118. } SOMDLINK DesktopAnimDrawClassData;
  119.  
  120. #if PRAGMA_ALIGN_SUPPORTED
  121. #  pragma options align=reset
  122. #endif
  123.  
  124. #if !defined(DesktopAnimDraw_Class_Source) && !defined(SOM_Module_desktopanimdraw_Source)
  125. #if PRAGMA_IMPORT_SUPPORTED
  126. #pragma import list DesktopAnimDrawClassData
  127. #endif
  128. #endif
  129.  
  130.  
  131. /*
  132.  * New macro for DesktopAnimDraw
  133.  */
  134. #define DesktopAnimDrawNew() somNewObject(DesktopAnimDraw)
  135.  
  136. /*
  137.  * New Method: Initialize
  138.  */
  139. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_Initialize)(DesktopAnimDraw *somSelf, Environment *ev,
  140.         AVIDType prefsDisplayID,
  141.         DesktopAnimModuleDescRef moduleDescRef,
  142.         DesktopAnimModuleInfo* moduleInfo);
  143. #define somMD_DesktopAnimDraw_Initialize "::DesktopAnimDraw::Initialize"
  144. #define DesktopAnimDraw_Initialize(somSelf,ev,prefsDisplayID,moduleDescRef,moduleInfo) \
  145.     (SOM_Resolve(somSelf, DesktopAnimDraw, Initialize) \
  146.     (somSelf,ev,prefsDisplayID,moduleDescRef,moduleInfo))
  147. #ifndef SOMGD_Initialize
  148.     #if defined _Initialize || defined __Initialize
  149.         #undef _Initialize
  150.         #undef __Initialize
  151.         #define SOMGD_Initialize 1
  152.     #else
  153.         #define _Initialize DesktopAnimDraw_Initialize
  154.     #endif /* _Initialize */
  155. #endif /* SOMGD_Initialize */
  156.  
  157. /*
  158.  * New Method: Open
  159.  */
  160. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_Open)(DesktopAnimDraw *somSelf, Environment *ev,
  161.         RgnHandle fullRgn,
  162.         WindowRef drawWindow,
  163.         TextObject errorText,
  164.         AbsoluteTime* nextAnimateTime);
  165. #define somMD_DesktopAnimDraw_Open "::DesktopAnimDraw::Open"
  166. #define DesktopAnimDraw_Open(somSelf,ev,fullRgn,drawWindow,errorText,nextAnimateTime) \
  167.     (SOM_Resolve(somSelf, DesktopAnimDraw, Open) \
  168.     (somSelf,ev,fullRgn,drawWindow,errorText,nextAnimateTime))
  169. #ifndef SOMGD_Open
  170.     #if defined _Open || defined __Open
  171.         #undef _Open
  172.         #undef __Open
  173.         #define SOMGD_Open 1
  174.     #else
  175.         #define _Open DesktopAnimDraw_Open
  176.     #endif /* _Open */
  177. #endif /* SOMGD_Open */
  178.  
  179. /*
  180.  * New Method: Close
  181.  */
  182. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_Close)(DesktopAnimDraw *somSelf, Environment *ev);
  183. #define somMD_DesktopAnimDraw_Close "::DesktopAnimDraw::Close"
  184. #define DesktopAnimDraw_Close(somSelf,ev) \
  185.     (SOM_Resolve(somSelf, DesktopAnimDraw, Close) \
  186.     (somSelf,ev))
  187. #ifndef SOMGD_Close
  188.     #if defined _Close || defined __Close
  189.         #undef _Close
  190.         #undef __Close
  191.         #define SOMGD_Close 1
  192.     #else
  193.         #define _Close DesktopAnimDraw_Close
  194.     #endif /* _Close */
  195. #endif /* SOMGD_Close */
  196.  
  197. /*
  198.  * New Method: OpenRequest
  199.  */
  200. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_OpenRequest)(DesktopAnimDraw *somSelf, Environment *ev,
  201.         DesktopAnimModuleInfo* moduleInfo,
  202.         TextObject errorText,
  203.         boolean* initializeOK);
  204. #define somMD_DesktopAnimDraw_OpenRequest "::DesktopAnimDraw::OpenRequest"
  205. #define DesktopAnimDraw_OpenRequest(somSelf,ev,moduleInfo,errorText,initializeOK) \
  206.     (SOM_Resolve(somSelf, DesktopAnimDraw, OpenRequest) \
  207.     (somSelf,ev,moduleInfo,errorText,initializeOK))
  208. #ifndef SOMGD_OpenRequest
  209.     #if defined _OpenRequest || defined __OpenRequest
  210.         #undef _OpenRequest
  211.         #undef __OpenRequest
  212.         #define SOMGD_OpenRequest 1
  213.     #else
  214.         #define _OpenRequest DesktopAnimDraw_OpenRequest
  215.     #endif /* _OpenRequest */
  216. #endif /* SOMGD_OpenRequest */
  217.  
  218. /*
  219.  * New Method: CloseRequest
  220.  */
  221. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_CloseRequest)(DesktopAnimDraw *somSelf, Environment *ev,
  222.         ScreenSaverUnfadeType unfadeReason,
  223.         boolean* terminateOK);
  224. #define somMD_DesktopAnimDraw_CloseRequest "::DesktopAnimDraw::CloseRequest"
  225. #define DesktopAnimDraw_CloseRequest(somSelf,ev,unfadeReason,terminateOK) \
  226.     (SOM_Resolve(somSelf, DesktopAnimDraw, CloseRequest) \
  227.     (somSelf,ev,unfadeReason,terminateOK))
  228. #ifndef SOMGD_CloseRequest
  229.     #if defined _CloseRequest || defined __CloseRequest
  230.         #undef _CloseRequest
  231.         #undef __CloseRequest
  232.         #define SOMGD_CloseRequest 1
  233.     #else
  234.         #define _CloseRequest DesktopAnimDraw_CloseRequest
  235.     #endif /* _CloseRequest */
  236. #endif /* SOMGD_CloseRequest */
  237.  
  238. /*
  239.  * New Method: Animate
  240.  */
  241. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_Animate)(DesktopAnimDraw *somSelf, Environment *ev,
  242.         DesktopAnimFlags drawFlags,
  243.         AbsoluteTime* nextAnimateTime);
  244. #define somMD_DesktopAnimDraw_Animate "::DesktopAnimDraw::Animate"
  245. #define DesktopAnimDraw_Animate(somSelf,ev,drawFlags,nextAnimateTime) \
  246.     (SOM_Resolve(somSelf, DesktopAnimDraw, Animate) \
  247.     (somSelf,ev,drawFlags,nextAnimateTime))
  248. #ifndef SOMGD_Animate
  249.     #if defined _Animate || defined __Animate
  250.         #undef _Animate
  251.         #undef __Animate
  252.         #define SOMGD_Animate 1
  253.     #else
  254.         #define _Animate DesktopAnimDraw_Animate
  255.     #endif /* _Animate */
  256. #endif /* SOMGD_Animate */
  257.  
  258. /*
  259.  * New Method: GetAnimateDrawingRgn
  260.  */
  261. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_GetAnimateDrawingRgn)(DesktopAnimDraw *somSelf, Environment *ev,
  262.         RgnHandle drawRgn);
  263. #define somMD_DesktopAnimDraw_GetAnimateDrawingRgn "::DesktopAnimDraw::GetAnimateDrawingRgn"
  264. #define DesktopAnimDraw_GetAnimateDrawingRgn(somSelf,ev,drawRgn) \
  265.     (SOM_Resolve(somSelf, DesktopAnimDraw, GetAnimateDrawingRgn) \
  266.     (somSelf,ev,drawRgn))
  267. #ifndef SOMGD_GetAnimateDrawingRgn
  268.     #if defined _GetAnimateDrawingRgn || defined __GetAnimateDrawingRgn
  269.         #undef _GetAnimateDrawingRgn
  270.         #undef __GetAnimateDrawingRgn
  271.         #define SOMGD_GetAnimateDrawingRgn 1
  272.     #else
  273.         #define _GetAnimateDrawingRgn DesktopAnimDraw_GetAnimateDrawingRgn
  274.     #endif /* _GetAnimateDrawingRgn */
  275. #endif /* SOMGD_GetAnimateDrawingRgn */
  276.  
  277. /*
  278.  * New Method: Draw
  279.  */
  280. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_Draw)(DesktopAnimDraw *somSelf, Environment *ev,
  281.         RgnHandle drawRgn,
  282.         AVIDType displayID,
  283.         DesktopAnimGraphicsPorts* drawingPorts,
  284.         DesktopAnimFlags drawFlags,
  285.         boolean doFullDraw);
  286. #define somMD_DesktopAnimDraw_Draw "::DesktopAnimDraw::Draw"
  287. #define DesktopAnimDraw_Draw(somSelf,ev,drawRgn,displayID,drawingPorts,drawFlags,doFullDraw) \
  288.     (SOM_Resolve(somSelf, DesktopAnimDraw, Draw) \
  289.     (somSelf,ev,drawRgn,displayID,drawingPorts,drawFlags,doFullDraw))
  290. #ifndef SOMGD_Draw
  291.     #if defined _Draw || defined __Draw
  292.         #undef _Draw
  293.         #undef __Draw
  294.         #define SOMGD_Draw 1
  295.     #else
  296.         #define _Draw DesktopAnimDraw_Draw
  297.     #endif /* _Draw */
  298. #endif /* SOMGD_Draw */
  299.  
  300. /*
  301.  * New Method: DrawBackgroundRgn
  302.  */
  303. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_DrawBackgroundRgn)(DesktopAnimDraw *somSelf, Environment *ev,
  304.         RgnHandle drawRgn,
  305.         AVIDType displayID,
  306.         DesktopAnimGraphicsPorts* drawingPorts,
  307.         DesktopAnimFlags drawFlags,
  308.         boolean doFullDraw);
  309. #define somMD_DesktopAnimDraw_DrawBackgroundRgn "::DesktopAnimDraw::DrawBackgroundRgn"
  310. #define DesktopAnimDraw_DrawBackgroundRgn(somSelf,ev,drawRgn,displayID,drawingPorts,drawFlags,doFullDraw) \
  311.     (SOM_Resolve(somSelf, DesktopAnimDraw, DrawBackgroundRgn) \
  312.     (somSelf,ev,drawRgn,displayID,drawingPorts,drawFlags,doFullDraw))
  313. #ifndef SOMGD_DrawBackgroundRgn
  314.     #if defined _DrawBackgroundRgn || defined __DrawBackgroundRgn
  315.         #undef _DrawBackgroundRgn
  316.         #undef __DrawBackgroundRgn
  317.         #define SOMGD_DrawBackgroundRgn 1
  318.     #else
  319.         #define _DrawBackgroundRgn DesktopAnimDraw_DrawBackgroundRgn
  320.     #endif /* _DrawBackgroundRgn */
  321. #endif /* SOMGD_DrawBackgroundRgn */
  322.  
  323. /*
  324.  * New Method: CreateOffscreenGraphicsPorts
  325.  */
  326. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_CreateOffscreenGraphicsPorts)(DesktopAnimDraw *somSelf, Environment *ev,
  327.         SInt16 depth,
  328.         Rect* boundsRect,
  329.         CTabHandle colorTable,
  330.         DesktopAnimOffscreenGraphicsPorts* offDrawingPorts);
  331. #define somMD_DesktopAnimDraw_CreateOffscreenGraphicsPorts "::DesktopAnimDraw::CreateOffscreenGraphicsPorts"
  332. #define DesktopAnimDraw_CreateOffscreenGraphicsPorts(somSelf,ev,depth,boundsRect,colorTable,offDrawingPorts) \
  333.     (SOM_Resolve(somSelf, DesktopAnimDraw, CreateOffscreenGraphicsPorts) \
  334.     (somSelf,ev,depth,boundsRect,colorTable,offDrawingPorts))
  335. #ifndef SOMGD_CreateOffscreenGraphicsPorts
  336.     #if defined _CreateOffscreenGraphicsPorts || defined __CreateOffscreenGraphicsPorts
  337.         #undef _CreateOffscreenGraphicsPorts
  338.         #undef __CreateOffscreenGraphicsPorts
  339.         #define SOMGD_CreateOffscreenGraphicsPorts 1
  340.     #else
  341.         #define _CreateOffscreenGraphicsPorts DesktopAnimDraw_CreateOffscreenGraphicsPorts
  342.     #endif /* _CreateOffscreenGraphicsPorts */
  343. #endif /* SOMGD_CreateOffscreenGraphicsPorts */
  344.  
  345. /*
  346.  * New Method: DisposeOffscreenGraphicsPorts
  347.  */
  348. typedef void   (SOMLINK *somTD_DesktopAnimDraw_DisposeOffscreenGraphicsPorts)(DesktopAnimDraw *somSelf, Environment *ev,
  349.         DesktopAnimOffscreenGraphicsPorts* offDrawingPorts);
  350. #define somMD_DesktopAnimDraw_DisposeOffscreenGraphicsPorts "::DesktopAnimDraw::DisposeOffscreenGraphicsPorts"
  351. #define DesktopAnimDraw_DisposeOffscreenGraphicsPorts(somSelf,ev,offDrawingPorts) \
  352.     (SOM_Resolve(somSelf, DesktopAnimDraw, DisposeOffscreenGraphicsPorts) \
  353.     (somSelf,ev,offDrawingPorts))
  354. #ifndef SOMGD_DisposeOffscreenGraphicsPorts
  355.     #if defined _DisposeOffscreenGraphicsPorts || defined __DisposeOffscreenGraphicsPorts
  356.         #undef _DisposeOffscreenGraphicsPorts
  357.         #undef __DisposeOffscreenGraphicsPorts
  358.         #define SOMGD_DisposeOffscreenGraphicsPorts 1
  359.     #else
  360.         #define _DisposeOffscreenGraphicsPorts DesktopAnimDraw_DisposeOffscreenGraphicsPorts
  361.     #endif /* _DisposeOffscreenGraphicsPorts */
  362. #endif /* SOMGD_DisposeOffscreenGraphicsPorts */
  363.  
  364. /*
  365.  * New Method: SetOriginOffscreenGraphicsPorts
  366.  */
  367. typedef void   (SOMLINK *somTD_DesktopAnimDraw_SetOriginOffscreenGraphicsPorts)(DesktopAnimDraw *somSelf, Environment *ev,
  368.         Point* newOrigin,
  369.         DesktopAnimOffscreenGraphicsPorts* offDrawingPorts);
  370. #define somMD_DesktopAnimDraw_SetOriginOffscreenGraphicsPorts "::DesktopAnimDraw::SetOriginOffscreenGraphicsPorts"
  371. #define DesktopAnimDraw_SetOriginOffscreenGraphicsPorts(somSelf,ev,newOrigin,offDrawingPorts) \
  372.     (SOM_Resolve(somSelf, DesktopAnimDraw, SetOriginOffscreenGraphicsPorts) \
  373.     (somSelf,ev,newOrigin,offDrawingPorts))
  374. #ifndef SOMGD_SetOriginOffscreenGraphicsPorts
  375.     #if defined _SetOriginOffscreenGraphicsPorts || defined __SetOriginOffscreenGraphicsPorts
  376.         #undef _SetOriginOffscreenGraphicsPorts
  377.         #undef __SetOriginOffscreenGraphicsPorts
  378.         #define SOMGD_SetOriginOffscreenGraphicsPorts 1
  379.     #else
  380.         #define _SetOriginOffscreenGraphicsPorts DesktopAnimDraw_SetOriginOffscreenGraphicsPorts
  381.     #endif /* _SetOriginOffscreenGraphicsPorts */
  382. #endif /* SOMGD_SetOriginOffscreenGraphicsPorts */
  383.  
  384. /*
  385.  * New Method: HandleAppleEvent
  386.  */
  387. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_HandleAppleEvent)(DesktopAnimDraw *somSelf, Environment *ev,
  388.         AppleEvent* theAppleEvent,
  389.         AppleEvent* reply);
  390. #define somMD_DesktopAnimDraw_HandleAppleEvent "::DesktopAnimDraw::HandleAppleEvent"
  391. #define DesktopAnimDraw_HandleAppleEvent(somSelf,ev,theAppleEvent,reply) \
  392.     (SOM_Resolve(somSelf, DesktopAnimDraw, HandleAppleEvent) \
  393.     (somSelf,ev,theAppleEvent,reply))
  394. #ifndef SOMGD_HandleAppleEvent
  395.     #if defined _HandleAppleEvent || defined __HandleAppleEvent
  396.         #undef _HandleAppleEvent
  397.         #undef __HandleAppleEvent
  398.         #define SOMGD_HandleAppleEvent 1
  399.     #else
  400.         #define _HandleAppleEvent DesktopAnimDraw_HandleAppleEvent
  401.     #endif /* _HandleAppleEvent */
  402. #endif /* SOMGD_HandleAppleEvent */
  403.  
  404. /*
  405.  * New Method: SetModuleMode
  406.  */
  407. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_SetModuleMode)(DesktopAnimDraw *somSelf, Environment *ev,
  408.         DesktopAnimFlags drawFlags,
  409.         RgnHandle fullRgn,
  410.         WindowRef drawWindow,
  411.         AbsoluteTime* nextAnimateTime);
  412. #define somMD_DesktopAnimDraw_SetModuleMode "::DesktopAnimDraw::SetModuleMode"
  413. #define DesktopAnimDraw_SetModuleMode(somSelf,ev,drawFlags,fullRgn,drawWindow,nextAnimateTime) \
  414.     (SOM_Resolve(somSelf, DesktopAnimDraw, SetModuleMode) \
  415.     (somSelf,ev,drawFlags,fullRgn,drawWindow,nextAnimateTime))
  416. #ifndef SOMGD_SetModuleMode
  417.     #if defined _SetModuleMode || defined __SetModuleMode
  418.         #undef _SetModuleMode
  419.         #undef __SetModuleMode
  420.         #define SOMGD_SetModuleMode 1
  421.     #else
  422.         #define _SetModuleMode DesktopAnimDraw_SetModuleMode
  423.     #endif /* _SetModuleMode */
  424. #endif /* SOMGD_SetModuleMode */
  425.  
  426. /*
  427.  * New Method: UpdateModuleProperty
  428.  */
  429. typedef OSStatus   (SOMLINK *somTD_DesktopAnimDraw_UpdateModuleProperty)(DesktopAnimDraw *somSelf, Environment *ev,
  430.         CollectionTag tag,
  431.         UInt32 propDataSize,
  432.         void* propData,
  433.         AbsoluteTime* nextAnimateTime,
  434.         boolean* needsRedraw);
  435. #define somMD_DesktopAnimDraw_UpdateModuleProperty "::DesktopAnimDraw::UpdateModuleProperty"
  436. #define DesktopAnimDraw_UpdateModuleProperty(somSelf,ev,tag,propDataSize,propData,nextAnimateTime,needsRedraw) \
  437.     (SOM_Resolve(somSelf, DesktopAnimDraw, UpdateModuleProperty) \
  438.     (somSelf,ev,tag,propDataSize,propData,nextAnimateTime,needsRedraw))
  439. #ifndef SOMGD_UpdateModuleProperty
  440.     #if defined _UpdateModuleProperty || defined __UpdateModuleProperty
  441.         #undef _UpdateModuleProperty
  442.         #undef __UpdateModuleProperty
  443.         #define SOMGD_UpdateModuleProperty 1
  444.     #else
  445.         #define _UpdateModuleProperty DesktopAnimDraw_UpdateModuleProperty
  446.     #endif /* _UpdateModuleProperty */
  447. #endif /* SOMGD_UpdateModuleProperty */
  448.  
  449. /*
  450.  * New Method: GetBackgroundDrawer
  451.  */
  452. typedef DesktopAnimDraw*   (SOMLINK *somTD_DesktopAnimDraw_GetBackgroundDrawer)(DesktopAnimDraw *somSelf, Environment *ev);
  453. #define somMD_DesktopAnimDraw_GetBackgroundDrawer "::DesktopAnimDraw::GetBackgroundDrawer"
  454. #define DesktopAnimDraw_GetBackgroundDrawer(somSelf,ev) \
  455.     (SOM_Resolve(somSelf, DesktopAnimDraw, GetBackgroundDrawer) \
  456.     (somSelf,ev))
  457. #ifndef SOMGD_GetBackgroundDrawer
  458.     #if defined _GetBackgroundDrawer || defined __GetBackgroundDrawer
  459.         #undef _GetBackgroundDrawer
  460.         #undef __GetBackgroundDrawer
  461.         #define SOMGD_GetBackgroundDrawer 1
  462.     #else
  463.         #define _GetBackgroundDrawer DesktopAnimDraw_GetBackgroundDrawer
  464.     #endif /* _GetBackgroundDrawer */
  465. #endif /* SOMGD_GetBackgroundDrawer */
  466.  
  467. /*
  468.  * New Method: GetModuleInfo
  469.  */
  470. typedef void   (SOMLINK *somTD_DesktopAnimDraw_GetModuleInfo)(DesktopAnimDraw *somSelf, Environment *ev,
  471.         DesktopAnimModuleInfo* moduleInfo);
  472. #define somMD_DesktopAnimDraw_GetModuleInfo "::DesktopAnimDraw::GetModuleInfo"
  473. #define DesktopAnimDraw_GetModuleInfo(somSelf,ev,moduleInfo) \
  474.     (SOM_Resolve(somSelf, DesktopAnimDraw, GetModuleInfo) \
  475.     (somSelf,ev,moduleInfo))
  476. #ifndef SOMGD_GetModuleInfo
  477.     #if defined _GetModuleInfo || defined __GetModuleInfo
  478.         #undef _GetModuleInfo
  479.         #undef __GetModuleInfo
  480.         #define SOMGD_GetModuleInfo 1
  481.     #else
  482.         #define _GetModuleInfo DesktopAnimDraw_GetModuleInfo
  483.     #endif /* _GetModuleInfo */
  484. #endif /* SOMGD_GetModuleInfo */
  485.  
  486. /*
  487.  * New Method: SetBackgroundDrawer
  488.  */
  489. typedef void   (SOMLINK *somTD_DesktopAnimDraw_SetBackgroundDrawer)(DesktopAnimDraw *somSelf, Environment *ev,
  490.         DesktopAnimDraw* backgroundDrawer);
  491. #define somMD_DesktopAnimDraw_SetBackgroundDrawer "::DesktopAnimDraw::SetBackgroundDrawer"
  492. #define DesktopAnimDraw_SetBackgroundDrawer(somSelf,ev,backgroundDrawer) \
  493.     (SOM_Resolve(somSelf, DesktopAnimDraw, SetBackgroundDrawer) \
  494.     (somSelf,ev,backgroundDrawer))
  495. #ifndef SOMGD_SetBackgroundDrawer
  496.     #if defined _SetBackgroundDrawer || defined __SetBackgroundDrawer
  497.         #undef _SetBackgroundDrawer
  498.         #undef __SetBackgroundDrawer
  499.         #define SOMGD_SetBackgroundDrawer 1
  500.     #else
  501.         #define _SetBackgroundDrawer DesktopAnimDraw_SetBackgroundDrawer
  502.     #endif /* _SetBackgroundDrawer */
  503. #endif /* SOMGD_SetBackgroundDrawer */
  504.  
  505. /*
  506.  * New Method: SetModuleInfo
  507.  */
  508. typedef void   (SOMLINK *somTD_DesktopAnimDraw_SetModuleInfo)(DesktopAnimDraw *somSelf, Environment *ev,
  509.         DesktopAnimModuleInfo* moduleInfo);
  510. #define somMD_DesktopAnimDraw_SetModuleInfo "::DesktopAnimDraw::SetModuleInfo"
  511. #define DesktopAnimDraw_SetModuleInfo(somSelf,ev,moduleInfo) \
  512.     (SOM_Resolve(somSelf, DesktopAnimDraw, SetModuleInfo) \
  513.     (somSelf,ev,moduleInfo))
  514. #ifndef SOMGD_SetModuleInfo
  515.     #if defined _SetModuleInfo || defined __SetModuleInfo
  516.         #undef _SetModuleInfo
  517.         #undef __SetModuleInfo
  518.         #define SOMGD_SetModuleInfo 1
  519.     #else
  520.         #define _SetModuleInfo DesktopAnimDraw_SetModuleInfo
  521.     #endif /* _SetModuleInfo */
  522. #endif /* SOMGD_SetModuleInfo */
  523.  
  524. /*
  525.  * New Method: _get_fAnimates
  526.  */
  527. typedef boolean   (SOMLINK *somTD_DesktopAnimDraw__get_fAnimates)(DesktopAnimDraw *somSelf, Environment *ev);
  528. #define somMD_DesktopAnimDraw__get_fAnimates "::DesktopAnimDraw::fAnimates"
  529. #define DesktopAnimDraw__get_fAnimates(somSelf,ev) \
  530.     (SOM_Resolve(somSelf, DesktopAnimDraw, _get_fAnimates) \
  531.     (somSelf,ev))
  532. #ifndef SOMGD_get_fAnimates
  533.     #if defined _get_fAnimates || defined __get_fAnimates
  534.         #undef _get_fAnimates
  535.         #undef __get_fAnimates
  536.         #define SOMGD_get_fAnimates 1
  537.     #else
  538.         #define __get_fAnimates DesktopAnimDraw__get_fAnimates
  539.     #endif /* __get_fAnimates */
  540. #endif /* SOMGD_get_fAnimates */
  541.  
  542. /*
  543.  * New Method: _set_fAnimates
  544.  */
  545. typedef void   (SOMLINK *somTD_DesktopAnimDraw__set_fAnimates)(DesktopAnimDraw *somSelf, Environment *ev,
  546.         boolean fAnimates);
  547. #define somMD_DesktopAnimDraw__set_fAnimates "::DesktopAnimDraw::fAnimates"
  548. #define DesktopAnimDraw__set_fAnimates(somSelf,ev,fAnimates) \
  549.     (SOM_Resolve(somSelf, DesktopAnimDraw, _set_fAnimates) \
  550.     (somSelf,ev,fAnimates))
  551. #ifndef SOMGD_set_fAnimates
  552.     #if defined _set_fAnimates || defined __set_fAnimates
  553.         #undef _set_fAnimates
  554.         #undef __set_fAnimates
  555.         #define SOMGD_set_fAnimates 1
  556.     #else
  557.         #define __set_fAnimates DesktopAnimDraw__set_fAnimates
  558.     #endif /* __set_fAnimates */
  559. #endif /* SOMGD_set_fAnimates */
  560.  
  561. /*
  562.  * New Method: _get_fDesktopRgn
  563.  */
  564. typedef RgnHandle   (SOMLINK *somTD_DesktopAnimDraw__get_fDesktopRgn)(DesktopAnimDraw *somSelf, Environment *ev);
  565. #define somMD_DesktopAnimDraw__get_fDesktopRgn "::DesktopAnimDraw::fDesktopRgn"
  566. #define DesktopAnimDraw__get_fDesktopRgn(somSelf,ev) \
  567.     (SOM_Resolve(somSelf, DesktopAnimDraw, _get_fDesktopRgn) \
  568.     (somSelf,ev))
  569. #ifndef SOMGD_get_fDesktopRgn
  570.     #if defined _get_fDesktopRgn || defined __get_fDesktopRgn
  571.         #undef _get_fDesktopRgn
  572.         #undef __get_fDesktopRgn
  573.         #define SOMGD_get_fDesktopRgn 1
  574.     #else
  575.         #define __get_fDesktopRgn DesktopAnimDraw__get_fDesktopRgn
  576.     #endif /* __get_fDesktopRgn */
  577. #endif /* SOMGD_get_fDesktopRgn */
  578.  
  579. /*
  580.  * New Method: _set_fDesktopRgn
  581.  */
  582. typedef void   (SOMLINK *somTD_DesktopAnimDraw__set_fDesktopRgn)(DesktopAnimDraw *somSelf, Environment *ev,
  583.         RgnHandle fDesktopRgn);
  584. #define somMD_DesktopAnimDraw__set_fDesktopRgn "::DesktopAnimDraw::fDesktopRgn"
  585. #define DesktopAnimDraw__set_fDesktopRgn(somSelf,ev,fDesktopRgn) \
  586.     (SOM_Resolve(somSelf, DesktopAnimDraw, _set_fDesktopRgn) \
  587.     (somSelf,ev,fDesktopRgn))
  588. #ifndef SOMGD_set_fDesktopRgn
  589.     #if defined _set_fDesktopRgn || defined __set_fDesktopRgn
  590.         #undef _set_fDesktopRgn
  591.         #undef __set_fDesktopRgn
  592.         #define SOMGD_set_fDesktopRgn 1
  593.     #else
  594.         #define __set_fDesktopRgn DesktopAnimDraw__set_fDesktopRgn
  595.     #endif /* __set_fDesktopRgn */
  596. #endif /* SOMGD_set_fDesktopRgn */
  597.  
  598. /*
  599.  * New Method: _get_fDrawWindow
  600.  */
  601. typedef WindowRef   (SOMLINK *somTD_DesktopAnimDraw__get_fDrawWindow)(DesktopAnimDraw *somSelf, Environment *ev);
  602. #define somMD_DesktopAnimDraw__get_fDrawWindow "::DesktopAnimDraw::fDrawWindow"
  603. #define DesktopAnimDraw__get_fDrawWindow(somSelf,ev) \
  604.     (SOM_Resolve(somSelf, DesktopAnimDraw, _get_fDrawWindow) \
  605.     (somSelf,ev))
  606. #ifndef SOMGD_get_fDrawWindow
  607.     #if defined _get_fDrawWindow || defined __get_fDrawWindow
  608.         #undef _get_fDrawWindow
  609.         #undef __get_fDrawWindow
  610.         #define SOMGD_get_fDrawWindow 1
  611.     #else
  612.         #define __get_fDrawWindow DesktopAnimDraw__get_fDrawWindow
  613.     #endif /* __get_fDrawWindow */
  614. #endif /* SOMGD_get_fDrawWindow */
  615. #ifndef SOM_DONT_USE_INHERITED_MACROS
  616. #define DesktopAnimDraw_InitializeBase DesktopAnimBase_InitializeBase
  617. #define DesktopAnimDraw_CloseBase DesktopAnimBase_CloseBase
  618. #define DesktopAnimDraw_AddDesktopAnimCollectionItem DesktopAnimBase_AddDesktopAnimCollectionItem
  619. #define DesktopAnimDraw_GetDesktopAnimCollectionItem DesktopAnimBase_GetDesktopAnimCollectionItem
  620. #define DesktopAnimDraw_GetDesktopAnimCollectionItemData DesktopAnimBase_GetDesktopAnimCollectionItemData
  621. #define DesktopAnimDraw_RemoveDesktopAnimCollectionItem DesktopAnimBase_RemoveDesktopAnimCollectionItem
  622. #define DesktopAnimDraw_ReadDesktopAnimCollection DesktopAnimBase_ReadDesktopAnimCollection
  623. #define DesktopAnimDraw_WriteDesktopAnimCollection DesktopAnimBase_WriteDesktopAnimCollection
  624. #define DesktopAnimDraw_GetModuleDescription DesktopAnimBase_GetModuleDescription
  625. #define DesktopAnimDraw_somInit SOMObject_somInit
  626. #define DesktopAnimDraw_somUninit SOMObject_somUninit
  627. #define DesktopAnimDraw_somDuplicateReference SOMObject_somDuplicateReference
  628. #define DesktopAnimDraw_somCompareReference SOMObject_somCompareReference
  629. #define DesktopAnimDraw_somRelease SOMObject_somRelease
  630. #define DesktopAnimDraw_somFree SOMObject_somFree
  631. #define DesktopAnimDraw_somCanDelete SOMObject_somCanDelete
  632. #define DesktopAnimDraw_somGetClass SOMObject_somGetClass
  633. #define DesktopAnimDraw_somGetClassName SOMObject_somGetClassName
  634. #define DesktopAnimDraw_somGetSize SOMObject_somGetSize
  635. #define DesktopAnimDraw_somIsA SOMObject_somIsA
  636. #define DesktopAnimDraw_somRespondsTo SOMObject_somRespondsTo
  637. #define DesktopAnimDraw_somIsInstanceOf SOMObject_somIsInstanceOf
  638. #define DesktopAnimDraw_somDispatch SOMObject_somDispatch
  639. #define DesktopAnimDraw_somClassDispatch SOMObject_somClassDispatch
  640. #define DesktopAnimDraw_somCastObj SOMObject_somCastObj
  641. #define DesktopAnimDraw_somResetObj SOMObject_somResetObj
  642. #define DesktopAnimDraw_somPrintSelf SOMObject_somPrintSelf
  643. #define DesktopAnimDraw_somDumpSelf SOMObject_somDumpSelf
  644. #define DesktopAnimDraw_somDumpSelfInt SOMObject_somDumpSelfInt
  645. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  646.  
  647. #endif       /* SOM_DesktopAnimDraw_h */
  648.